<!DOCTYPE html>
<html lang="en">

<head>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
   <title>Document</title>
   <style>
      div {
         width: 150px;
         height: 150px;
         background-color: greenyellow;
         transition: all 2s;
      }
      div:hover{
         /* 如果同时需要多个transform属性需要把位移属性放置最前面。 */
         transform: translate(200px, 400px) rotate(720deg) scale(.5);
      }
   </style>
</head>

<body>
   <div>

   </div>
</body>

</html>